package com.team24.hotel.service;

import com.team24.hotel.domain.Order;

import java.util.List;


public interface FrontOrderService{
    List<Order> listOrder();

    Order selectExtByPrimaryKey(String id);

    List<Order> selectHistoryAll(String userId);

    List<Order> selectAllByUserId(String userId);

    int updateOrderStatusToCompleted(String id);

    int updateOrderStatusToCancel(String id);

    int updateOrderStatusToNoPay(String id);

    int updateOrderStatusToPayed(String id);
}
